from pydantic import Field
from typing import Optional, Annotated

from owl_common.base.model import AuditEntity, VoAccess


class KnowledgeBase(AuditEntity):
    """
    知识库实体
    """
    id: Annotated[Optional[int], Field(default=None, vo=VoAccess(True))]

    name: Annotated[str, Field(default=None, vo=VoAccess(True))]
